var app = new Vue({
	el: '#app',
	data: lData,
	methods:{
		navOnClick:function(event){
			var targetUrl = "#";
			for(var i=app.nav.length;i-->0;){
				if(app.nav[i].name == event.target.innerHTML){
					app.nav[i].active = true
					targetUrl = app.nav[i].url;
					continue
				}
				app.nav[i].active = false
			}
			console.log(targetUrl)
			window.location.href=targetUrl
		}
	}
})

